import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as echarts from 'echarts'


const app = createApp(App)

// 注册Element Plus组件
app.use(ElementPlus)

// 注册路由
app.use(router)

// 全局注册ECharts
app.config.globalProperties.$echarts = echarts

app.mount('#app')
